import request from '@/utils/request'

// 获取房产列表
export const getProperties = (params = {}) => request.get('/properties', { params })

// 获取指定房产
export const getPropertyById = (id) => request.get('/properties/' + id)

// 获取房产数量
export const propertyNumber = (params = {}) => request.get('/properties/count', { params })